package com.baomidou.mybatisplus.samples.quickstart.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author cyd
 * @date 2020/11/12
 */
@Data
@TableName(value = "mp_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class User extends Model<User> {

    private String id;
    @TableField
    private String name;
    private Integer age;
    private String email;
}
